import api from "./api"
import axios from "../../../axios";

//充值水电燃气
export const WefRecharge = (data) => {

    return axios({
     method:'post',
     url: api.wef.wefRecharge,
     data,
     headers: {
         "Authorization": window.localStorage.getItem('token')
     }
  })
}


//查询充值记录
export const WefrecordQuery=(params)=>{
    return axios({
     method:'get',
     url:api.wef.wefrecord,
     params,
     headers: {
         "Authorization": window.localStorage.getItem('token')
     }
   })
 }
 

 //根据缴费编号查询缴费账单
 export const WefnumberQuery=(params)=>{
    return axios({
     method:'get',
     url:api.wef.wefnumber,
     params,
     headers: {
         "Authorization": window.localStorage.getItem('token')
     }
   })
 }



  //根据身份证查询
  export const WefIDQuery=(params)=>{
    return axios({
     method:'get',
     url:api.wef.wefid,
     params,
     headers: {
         "Authorization": window.localStorage.getItem('token')
     }
   })
 }
